Tips on how to use static analysis tools with legacy projects
PHPStan increases code quality and reduces bugs. Learn how custom rules amplify these benefits.
Learn how to implement new language features using static analysis.
Learn how to write code to get the most from static analysis tools, so you reduce the bug count on projects you're working on.
Static Analysis can drastically reduce the bug count in your codebase. This talk gives practical advice on integrating static analysis into your development workflow.
Workshop to create your custom PHPStan rules
Workshop to create your custom Rector rules
June 23rd 2023
This is the first part of a 4 part series of articles about adding PHPStan to existing projects. First we'll deal with team members who might object.
September 27th 2025
Learn how the Friend attribute can be used to enforce the usage of creational design patterns.
March 3rd 2026
Learn how the InjectableVersion attribute ensures that correct interface of class is used in Dependency Injection.
October 5th 2025
Learn how the MustUseResult attribute can prevent coding mistakes.
October 21st 2025
Learn how the NamespaceVisibility attribute emulates the missing package visibility modifier.
September 14th 2025
It's possible to use static analysis to emulate new language features in PHP. This article examines how, and introduces the PHP Language Extension Library.
February 26th 2026
Learn how the RestrictTraitTo attribute ensures that traits are used correctly.
March 8th 2026
Where appropriate should PHP updates start off in static analysis world before becoming part of the PHP language?
November 28th 2025
Learn how the TestTag attribute helps with testing.